package com.emqx.kafka.demo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 需要
 */
@SpringBootApplication
public class DemoApplication {

	static Logger logger= LoggerFactory.getLogger(DemoApplication.class);


	public static void main(String[] args) {
		try {
			SpringApplication.run(DemoApplication.class, args);
		}catch (Exception e){
			logger.error("启动失败!{}",e);
		}
	}

}
